<?php
require "BL/booking.php";

    $blo= new Booking();
    if($bookings=$blo->getAllRegularBooking()):

?>
<div id="booking-list">
    <?php
    foreach($bookings as $booking):
        echo "<pre>";
        foreach($booking as $key=>$value):?>
            <span><?php echo str_replace("_", " ", $key).":".$value; ?></span>
         <?php
         endforeach;
         echo "</pre>";
    endforeach;
    

     ?>


    </div>





<?php
    else:
?>
<div id="no-data-found"">
       No Booking found.
</div>
<?php
    endif;


?>
